package cn.yyt.yytravel.community.mapper;

import cn.yyt.yytravel.community.pojo.dto.CommentQuery;
import cn.yyt.yytravel.community.pojo.dto.CommentSaveParam;
import cn.yyt.yytravel.community.pojo.entity.Comment;
import cn.yyt.yytravel.community.pojo.vo.CommentVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CommentMapper {
    void insertComment(Comment comment);

    List<CommentVO> selectComment(CommentQuery commentQuery);
}
